Pod::Spec.new do |spec|
    spec.name = 'SuperPlayer'
    spec.version = '2.5.2'
    spec.license = { :type => 'MIT' }
    spec.homepage = 'https://cloud.tencent.com/product/player'
    spec.authors = { 'annidyfeng' => 'annidyfeng@tencent.com' }
    spec.summary = '超级播放器'
    spec.source = { :git => 'git@gitee.com:shlowdy/SuperPlayer_iOS.git', :tag => 'v2.5.2' }

    spec.ios.deployment_target = '8.0'
    spec.requires_arc = true

    spec.dependency 'AFNetworking', '~> 3.1'
    spec.dependency 'SDWebImage', '~> 4.4'
    spec.dependency 'Masonry', '~> 1.1'

    spec.static_framework = true
    spec.default_subspec = 'Player'

    spec.ios.framework = ['SystemConfiguration','CoreTelephony', 'VideoToolbox', 'CoreGraphics', 'AVFoundation', 'Accelerate']
    spec.ios.library = 'z', 'resolv', 'iconv', 'c++', 'sqlite3'

    spec.subspec "Player" do |s|
        s.source_files = 'SuperPlayer/**/*.{h,m}'
        s.private_header_files = 'SuperPlayer/Utils/TXBitrateItemHelper.h', 'SuperPlayer/Views/SuperPlayerView+Private.h'
        s.resource = 'SuperPlayer/Resource/*'
        s.dependency 'TXLiteAVSDK_Player', '~> 5.4'
    end
end

